{include file="public/head"}
<body>
<div id="wrapper">
    {include file="public/menu"}

    <div id="page-wrapper" class="gray-bg dashbard-1">

        {include file="public/nav"}

        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-lg-6">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>USDT</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$user.balance_1|floatval}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>总计U</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>充值</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total.recharge|floatval}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>总计充值</small>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">

                <div class="col-lg-3">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>奖金</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total.reward_all}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>累计获得</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>直推奖励</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total.reward_7}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>累计获得</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>网图奖励</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total.reward_8}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>累计获得</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>推广奖励</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total.reward_9}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>累计获得</small>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-3">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <span class="label label-danger pull-right">总</span>
                            <h5>团队人数</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$team}</h1>
                            <div class="stat-percent font-bold text-danger"></i>
                            </div>
                            <small>伞下会员数量</small>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>最新公告</h5>
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
<!--                                <a class="close-link">-->
<!--                                    <i class="fa fa-times"></i>-->
<!--                                </a>-->
                            </div>
                        </div>
                        <div class="ibox-content no-padding">
                            <ul class="list-group">
                                {volist name='Notice' id='v'}
                                <li class="list-group-item">
                                    <p><a class="text-info" href="{:url('Notice/NoticeDetail')}?id={$v.id}">{$v.title}</a></p>
                                    <small class="block text-muted"><i class="fa fa-clock-o"></i> {$v.add_time|date='Y-m-d H:i:s',###}</small>
                                </li>
                                {/volist}
                            </ul>
                        </div>
                        <button class="btn btn-primary btn-block m-t" onclick="window.location.href ='{:url("Notice/NoticeList")}'"><i class="fa fa-arrow-down"></i> 全部</button>
                    </div>
                </div>
            </div>
        </div>
        {include file="public/foot"}
    </div>
</div>

{include file="public/footer"}



</body>

</html>